package com.dingup.api.model.sys;

import java.util.Date;
import java.util.List;

public class SysPermissionGroup {
    private Integer id;

    private String groupName;

    private String groupDescription;

    private Date createTime;

    private String createUserId;

    //是否是系统默认用户表示  通过create_user_id 是否为空判断
    private Boolean status;

    private Integer parentId;

    private String groupPermission;

    private Integer order;

    private Boolean ifHasPermission = false;

    private  List<SysPermissionGroup> child;

    private List<SysPermission> permissionUrl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public String getGroupDescription() {
        return groupDescription;
    }

    public void setGroupDescription(String groupDescription) {
        this.groupDescription = groupDescription == null ? null : groupDescription.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Boolean getIfHasPermission() {
        return ifHasPermission;
    }

    public void setIfHasPermission(Boolean ifHasPermission) {
        this.ifHasPermission = ifHasPermission;
    }

    public List<SysPermissionGroup> getChild() {
        return child;
    }

    public void setChild(List<SysPermissionGroup> child) {
        this.child = child;
    }

    public String getGroupPermission() {
        return groupPermission;
    }

    public void setGroupPermission(String groupPermission) {
        this.groupPermission = groupPermission;
    }

    public List<SysPermission> getPermissionUrl() {
        return permissionUrl;
    }

    public void setPermissionUrl(List<SysPermission> permissionUrl) {
        this.permissionUrl = permissionUrl;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }
}